<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">	
<title>{$_C['site_name']}</title>
<link  rel="stylesheet" href="{$_C.hy_path}css/pubilc.css" />
<link  rel="stylesheet" href="{$_C.hy_path}css/mani.css" />
<link type="text/css" rel="stylesheet" href="{$_C.hy_path}css/Bookcoupons.css" />
<link type="text/css" rel="stylesheet" href="{$_C.hy_path}css/perfume.css" />
<link type="text/css" rel="stylesheet" href="{$_C.hy_path}css/sh.css" />
<script src="{$_C.hy_path}js/hhSwipe.js"></script>
<script src="{$_C.hy_path}js/jquery-1.10.2.min.js"></script>
</head>

<body>
<div class="addWrap">
	<div class="swipe" id="mySwipe">
		<div class="swipe-wrap">
			<div onClick="toUrl('http://mp.weixin.qq.com/s?__biz=MzA5OTExODg4NA==&mid=400322156&idx=1&sn=c64abf12ce0e2e1ec74e945a045cadaa&scene=0#wechat_redirect')"><img class="img-responsive" src="{$_C.hy_path}images/read/banner1.png"/></div>
			<div><img class="img-responsive" src="{$_C.hy_path}images/read/banner2.png" /></div>
			<div><img class="img-responsive" src="{$_C.hy_path}images/read/banner3.png"/></div>
		</div>
	</div>
	
	<ul id="position">
		<li class="cur"></li>
		<li></li>
		<li></li>
	</ul>
</div>
<script>
	var bullets = document.getElementById('position').getElementsByTagName('li');
	var banner = Swipe(document.getElementById('mySwipe'), {
		auto: 4000,
		continuous: true,
		disableScroll:false,
		callback: function(pos) {
			var i = bullets.length;
			while (i--) {
				bullets[i].className = ' ';
			}
			bullets[pos].className = 'cur';
		}
	});
	function toUrl(url){
		if(url!=null&&url!=undefined&&url!=""){
			window.location.href=url;
		}
	}
</script>